/*
 * @Author: Eli.Chen
 * @Date: 2025-05-07 09:56:58
 * @LastEditors: Eli.Chen
 * @LastEditTime: 2025-05-09 10:07:15
 * @Description:
 */
// 字段映射
export const homeMap = {
    websiteName: '乡韵墟',
    menus: ['首页', '文化习俗科普', '推荐', '社区', '注册', '登录', '特色美食专区'],
};
export const authMap = {
    login: '/auth/login',
    register: '/auth/register',
    forgetPassword: '/auth/forgetPassword',
};

export const modelMap = {
    首页: '/',
    文化习俗科普: '/cultPop',
    社区: '/community',
    推荐: '/todayRecommend',
    特色美食专区: '/food',
};

export const controllerMap = {
    controller: '/adminController',
};

export const urlMap = {
    defaultUrl: 'http://localhost:8081',
    // defaultUrl: "http://47.112.175.220:8081"
};

export const imagesMap = {
    defaultAvatarPath: '/images/avatar/user/',
    defaultPicturePath: '/images/picture/com/',
    secondPicturePath: '/images/picture/cult/',
    thridPicturePath: '/images/picture/cult/published/',
    foodPicturePath: '/images/picture/food/picture/',
    tradCraftPicturePath: '/images/picture/tradCraft/picture/',
    touristPicturePath: '/images/picture/tourist/picture/',
    todayRecommendPath: '/images/picture/todayRecommend/picture/',
    homePicturePath: '/images/home/',
};

export const resourseMap = {
    food: '/images/picture/rec/food/',
    tradCraft: '/images/picture/rec/craft/',
    tourist: '/images/picture/rec/tourist/',
};

export const uploadMap = {
    comUploadPath: '/com/thread/upload',
    comDeletePath: '/com/thread/upload/delete',
    cultUploadPath: '/cult-pop/articles/upload',
    cultDeletePath: '/cult-pop/articles/upload/delete',
};

export const colorMap = {
    1: '#ff4d4f', // 红色
    2: '#52c41a', // 绿色
    3: '#faad14', // 金色
    4: '#13c2c2', // 青色
    5: '#1890ff', // 蓝色
};
